
function colorFToI(%f){
	%i = %f*255;
	%i = mFloor(%i + 0.5);
	return %i;
}

function getColorI(%color){
	%color2 = 
		colorFToI(getWord(%color, 0)) SPC
		colorFToI(getWord(%color, 1)) SPC
		colorFToI(getWord(%color, 2)) SPC
		colorFToI(getWord(%color, 3))
	;
}
